package com.isoftstone.demo.service;

import com.github.pagehelper.PageInfo;
import com.isoftstone.demo.common.OrderVO;
import com.isoftstone.demo.pojo.Order;

/**
 * 订单服务
 **/
public interface IOrderService {
    PageInfo<Order> listOrderByPage(int page, int pageNum);

    Integer addOrder(Order order);

    void deleteOrder(Integer id);

    Order getById(int id);

    void updateOrder(OrderVO vo);
}
